function act() {
    var a = cm.getReactor().getState();
    cm.playerMessage(5, a);
    if (a == 2) {
        cm.getReactor().delayedDestroyReactor(0);
        var b = cm.getPlayer().getPosition();
        if (Math.abs(b.x + 128) < 50 && Math.abs(b.y - 91) < 50) {
            cm.afterlandChangeMapObject("q63068_out", 1, 1, 3000, 0, 0, 0, 0);
            cm.afterlandChangeMapObject("q63068_out_pos", 1, 0, 0, 0, 0, 0, 0);
            cm.updateInfoQuest(63068, "end=1")
        } else {
            cm.spawnReactorOnGroundBelow(8659070, b.x, b.y)
        }
    } else {
        cm.getMap().getReactorById(8659070).forceHitReactor(cm.getPlayer(), 1, 623, 68, 0);
        cm.getMap().getReactorById(8659070).forceHitReactor(null, 2, -53, 91, 0);
        cm.getReactor().delayedDestroyReactor(0)
    }
}
var status = -1;
var selectionLog = [];

function start() {
    action(1, 0, 0)
}

function action(e, d, c) {
    if (status == 0 && e == 0) {
        cm.dispose();
        return
    }(e == 1) ? status++ : status--;
    selectionLog[status] = c;
    var b = -1;
    if (status <= b++) {
        cm.dispose()
    } else {
        if (status === b++) {
            var f = cm.getReactor().getId();
            var a = cm.getReactor().getName();
            cm.sendOk("这个传送点 [" + f + " : " + a + "] 的脚本尚未修复。\r\n脚本位于： 脚本/反应堆/8659070.js ", 0)
        } else {
            cm.dispose()
        }
    }
};